#include<stdio.h>
#include<iostream>    //
#include<fstream>     // Srecial libraryes
using namespace std;  //
int main() {
    int a = 0;
    int b = 0;
    cout << "enter one number\n"; // Printf
    cin >> a; // Scanf
    ofstream ofile("/home/school/a.txt"); // Open file
    ofile << a << endl; // Write into file
    ofile.close(); // Close file
    ifstream ifile("/home/school/a.txt"); // Open file
    ifile >> b;  // Read out file
    ifile.close(); // Close file
    cout << b << endl;
    
    return 0;
} 
